package com.xxxx.seckill.vo;

import com.xxxx.seckill.validator.IsMobile;
import lombok.Data;
import javax.validation.constraints.NotNull;

/**
 * @author heyanfeng
 * @version 1.0
 * @description:  登录传来的参数
 * @date 2022/7/29 16:10
 */
@Data
public class LoginVo {

    /*
     * @Author heyanfeng
     * @Description // *********难点根据组件所需要的注解和规则自定义***********
     * @Date 17:52 2022/7/29
     * @Param
     * @return
     **/
    @NotNull
    @IsMobile
    private String mobile;

    @NotNull
    private String password;
}
